import close from './close'

const install = function (Vue) {
  Vue.directive('el-close-drawer', close)
}

if (window.Vue) {
  window['el-close-drawer'] = close
  Vue.use(install) // eslint-disable-line
}

close.install = install
export default close
